package pe.edu.unmsm.fisi.sisconteg.domain.model;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "tb_grado_tesis", catalog = "bdsisconteg")
public class GradoTesis implements java.io.Serializable {

	private Integer idGradoTesis;
	private String nombreGradoTesis;
	
	public GradoTesis() {
	}

	public GradoTesis(String nombreGradoTesis) {
		this.nombreGradoTesis = nombreGradoTesis;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "C_ID_GRADO_TESIS", unique = true, nullable = false)
	public Integer getIdGradoTesis() {
		return this.idGradoTesis;
	}

	public void setIdGradoTesis(Integer idGradoTesis) {
		this.idGradoTesis = idGradoTesis;
	}

	@Column(name = "T_NOMBRE_GRADO_TESIS", length = 50)
	public String getNombreGradoTesis() {
		return this.nombreGradoTesis;
	}

	public void setNombreGradoTesis(String nombreGradoTesis) {
		this.nombreGradoTesis = nombreGradoTesis;
	}
}
